#ifndef					__APIAUDIO_H__
#define					__APIAUDIO_H__

#include				"SoundPacket.h"
#include				"packet.h"

class					Audio;

class					ApiAudio
{
public:
	ApiAudio(Audio *);
	~ApiAudio();

private:
	Audio				*_manager;

public:
	void				setVolume(float);
	void				decode(Packet*, SoundPacket*, unsigned int);
	void				newBuffer(unsigned int);
	void				destroyBuffer(unsigned int);
	SoundPacket			*getPacket(unsigned int);
	void				packetReady(unsigned int);
};


#endif // !__APIAUDIO_H__
